﻿using StarryEdge.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StarryEdge.Core.Device
{
    public interface ICommunication : IStarryEdge
    {
        DeviceInfoModel DeviceInfo { get; }
        bool Open();
        void Close();
        bool Send(byte[] data);
        byte[] Receive();

    }
}
